# -*- coding: utf-8 -*-

"""
@Author: 芮芪懿 QQ1849433491
@Project->File: pygame_train -> 2绘制背景.py
@IDE：PyCharm 2020.1
@File: 2绘制背景.py
@Datetime: 2021/7/7 19:47
"""
import pygame
from resource_path import *

pygame.init()
screen = pygame.display.set_mode((480, 800))  # 屏幕对象,宽高素材一致
# 1> 加载图像数据
bgImage = pygame.image.load(bgImagePath)
# 2> blit 绘制图像
screen.blit(bgImage, (12, 50, 50, -100))
# 3> update 更新屏幕显示
pygame.display.update()

while True:
    pass
pygame.quit()